/* 登录页面 */
.login-container {
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: .5rem;

    .error {
        position: absolute;
        width: 20rem;
        height: 10rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .sign {
        font-size: xx-large;
        font-weight: bolder;
        margin-bottom: 20px;
    }

    .login-wrapper {
        width: 100%;
        max-width: 400px;
        height: 450px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: var(--color-background);
        border-radius: .3rem;
        position: relative;

        .email,
        .pwd {
            height: 50px;
            width: 90%;
            margin-top: 1rem;

            input {
                width: 100%;
                height: 100%;
                padding: 1em;
                background-color: var(--color-background-input);
                outline: none;
                border: none;
                font: inherit;
            }
        }

        .language {
            margin-top: 1rem;
            font-size: small;
            display: flex;
            align-items: center;
            gap: 2rem;

            label {
                display: flex;
                align-items: center;
                gap: .2rem;
            }
        }

        .submit {
            margin-top: 2rem;
            width: 4.5rem;
            height: 2rem;
            padding: 0;
            line-height: 2rem;
            text-align: center;
            border-radius: .3rem;
            color: #ffffff;
            background-color: #f77c2c;
            cursor: pointer;
            outline: none;
            border: none;
            font-size: 1rem;
        }
    }

    .sun {
        position: absolute;
        top: 1rem;
        right: 1rem;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        animation: sun-rotate 3s linear infinite;

        svg {
            path {
                fill: white;
            }
        }
    }

    .moon {
        position: absolute;
        top: 1rem;
        right: 1rem;
        cursor: pointer;
    }
}

@keyframes sun-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 注册链接 */
.login-register {
    font-size: small;
    margin: auto;
    bottom: 1rem;
    position: absolute;
}

.third-login {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    >span {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }
}

/* 登录结束 */
